#include "StdAfx.h"
#include "User.h"

CUser::CUser(void)
: m_nScore(0)
{
}

CUser::~CUser(void)
{
}

void CUser::SetScore(int nScore)
{
	if (nScore > 0)
		m_nScore = nScore;
}
int CUser::GetScore(void) const
{
	return m_nScore;	
}

void CUser::AddScore(int nScore)
{
	if (nScore > 0)
		m_nScore += nScore;
}

